package no.rodland.acc.db;

import java.util.List;

import no.rodland.acc.model.Bank;
import no.rodland.acc.model.Budget;

/**
 * Created by IntelliJ IDEA.
 *
 * @Since: Jun 18, 2010 2:03:50 PM
 * @Author: fmr
 */
public interface StoreService extends DbService {

    <T extends DbRow> boolean store(T... rows);

    <T extends DbRow> T store(T row);

    <T extends DbRow> int insert(List<T> rows);

    boolean match(Bank bank, Budget budget);
}